import pageRoutes from './router.config'
// ref: https://umijs.org/config/
export default {
  plugins: [
    // ref: https://umijs.org/plugin/umi-plugin-react.html
    ['umi-plugin-react', {
      antd: true,
      dva: true,
      dynamicImport: true,
      title: '多端应用系统',
      dll: true,
      // 路由配置
      routes: pageRoutes,
      hardSource: true,
      locale: {
        enable: true, // default false
        default: 'zh-CN', // default zh-CN
        baseNavigator: true, // default true, when it is true, will use `navigator.language` overwrite default
      },
    }],
  ],
  // 路由配置
  routes: pageRoutes,
}